﻿using System;

namespace KryptecizerBase.EventArguments
{
    /// <summary>
    /// TextChangedEventArgs contains new text.
    /// </summary>
    public class TextChangedEventArgs
    {
        /// <summary>
        /// Gets or sets the text.
        /// </summary>
        /// <value>The text.</value>
        public String Text { get; private set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TextChangedEventArgs"/> class.
        /// </summary>
        /// <param name="text">The text.</param>
        public TextChangedEventArgs(String text)
        {
            Text = text;
        }
    }
}
